
require('./advertisement.less')
require('../../assets/css/common.less')
require('../../assets/css/animate.min.css')


window.onload=()=>{
let sp1=document.querySelector('.sp1')
let cd=document.querySelector('.cd')
// 设置倒计时
function count(){
    let sum=4;
   let timer= setInterval(()=>{
        sum--;
        if(sum===0){
            clearInterval(timer)
            // location.href='./login.html'

        }
        sp1.innerHTML=`${sum}s`

    },1000)

}
count();

cd.addEventListener('click',()=>{
    location.href='./login.html'
})

}